//
//  TXPAFNetworkingBlock.h
//  StayAwhile
//
//  Created by dllo on 16/1/26.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>

typedef void(^PostAFNBlockResult)(id result);
typedef void(^PostAFNBlockError)(NSError *error);

@interface TXPAFNetworkingBlock : NSObject

+ (void)PostAFNURLWithString:(NSString *)url Body:(NSDictionary *)body Cookie:(NSString *)cookie resultBlock:(PostAFNBlockResult)resultBlcok errorBlock:(PostAFNBlockError)errorBlock;


@end
